package com.shangxian.giveithome.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class PlaceLists {
    private Long id;
    private Long meId;
    private Long usId;
    private String name;
    private String varieties;
    private String type;
    private String age;
    private String sex;
    private Integer subordinate;
    private String describe;
    private String sterilization;
    private String vaccine;
    /**
     * 省级地址
     **/
    private String province;

    /**
     * 市级地址
     **/
    private String city;

    /**
     * 县级地址
     **/
    private String county;

    /**
     * 详细地址
     **/
    private String address;
    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date createTime;

    private String ImgPath;
}
